package chixing.day06;

public class OrderTest {

    public static void main(String[] args) {
        OnlineOrder[] orders = new OnlineOrder[3];
        orders[0] = new OnlineOrder(1, 100, "123@163.com");
        orders[1] = new OnlineOrder(2, 200, "456@163.com");
        orders[2] = new OnlineOrder(3, 300, "789@163.com");
        for (int i = 0; i < orders.length; i++) {
            orders[i].printOnlineOrder();
        }
    }
}
